package models

type Merchant struct {
	Id                       int    `json:"id" db:"Id" gorm:"column:Id"`
	Code                     string `json:"code" db:"Code" gorm:"column:Code"`
	Name                     string `json:"name" db:"Name" gorm:"column:Name"`
	ApiKey                   string `json:"apiKey" db:"ApiKey" gorm:"column:ApiKey"`
	MasterDerivationStrategy string `json:"masterDerivationStrategy" db:"MasterDerivationStrategy" gorm:"column:MasterDerivationStrategy"`
	MasterPrivateKey         string `json:"masterPrivateKey" db:"MasterPrivateKey" gorm:"column:MasterPrivateKey"`
	NotifyUrl                string `json:"notifyUrl" db:"NotifyUrl" gorm:"column:NotifyUrl"`
	Sts                      int    `json:"sts" db:"Sts" gorm:"column:Sts"`
}

func (Merchant) TableName() string {
	return "BTCLikeMerchant"
}
